package com.lishuang.DAO.DeviceDAO;

import com.lishuang.domain.json.Device;

import java.util.List;

/**
 * @author LiShuang
 * @version 1.0.0
 * @date 2022/11/12 17:29
 */
public interface deviceDAO {
    boolean Insert(Device device)throws Exception;
    List<Device> findAll()throws Exception;
    Device findByIdx(int deviceId)throws Exception;
}
